package vip.liux.contracts.security.externalLogin.authenticator;

public enum ExternalLoginProvider {
    MOCK,
    GOOGLE,
    FACEBOOK,
    TWITTER,
    GITHUB;

    public static boolean isSupported(String provider) {
        for (ExternalLoginProvider p : values()) {
            if (p.name().equalsIgnoreCase(provider)) {
                return true;
            }
        }
        return false;
    }
}